let gddw_yb = 0;
function gddw() {
    gddw_yb++;
    switch (gddw_yb) {
        case 1://左上角
            xy_zsj2()
            break;
        case 2://上中
            xy_sz2()
            break;
        case 3://右上角
            xy_ysj2()
            break;
        case 4://左中
            xy_zz2()
            break;
        case 5://右中
            xy_yz2()
            break;
        case 6://左下角
            xy_zxj2()
            break;
        case 7://下中
            xy_xz2()
            break;
        case 8://右下角
            xy_yxj2()
            break;
        case 9://正中间
            xy_zzj2()
            break;

    }
    if (gddw_yb == 9) {
        gddw_yb = 0;
    }
}

function xy_zsj2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_zsj2(0, 0, 'px');
}

function xy_sz2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_sz2(0, 0);
}

function xy_ysj2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_ysj2(0, 0);
}


function xy_zz2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_zz2(0, 0);
}
function xy_yz2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_yz2(0, 0);
}

function xy_zxj2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_zxj2(0, 0);
}

function xy_xz2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_xz2(0, 0);
}

function xy_yxj2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_yxj2(0, 0);
}

function xy_zzj2() {
    let nwDX = nw.cj('gddw_mk');
    nwDX.ys.xy_zzj2(0, 0);
}